import 'package:flutter/material.dart';

void main() {
  runApp(new MaterialApp(
    home: Scaffold(
      appBar: AppBar(
        title: Text("Flex配置说明"),
      ),
      body: Flex(
        direction: Axis.vertical,
        children: <Widget>[
          Text("你好呀"),
          Text(
            "一起学吧",
            style: TextStyle(fontSize: 30),
          ),
          Text("燥起来吧")
        ],
        mainAxisAlignment: MainAxisAlignment.end,
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisSize: MainAxisSize.min,
      ),
    ),
  ));
}
